@import "variable";
//@import "../../dist/css/sprite";

.com-btn{
  position:fixed;
  width: 100%;
  bottom: 10px;
  padding:0 10px;
  z-index: 2;
  display: flex;
  justify-content: space-around;
}
.btn-default{
  background-color: @blue;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  border-radius: 4px;
  width: 100%;
  &:focus,&:active{
    color: #fff;
  }
}
.small-btn{
  background-color: #fff;
  border: 1px solid @green!important;
  color: @green;
  &:after{
    display: none;
  }
}
.btn-middle{
  width: 40%!important;
  background-color: @blue;
  color: #fff;
  margin: 10px auto;
}

.type-title{
  color: #333;
  font-size: 15px;
  line-height: 36px;
  padding-left: 15px;
  >span{
    display: inline-block;
    vertical-align: middle;
    padding-left: 5px;
    font-weight: 600;
  }
  .type-tax-icon{
    display: inline-block;
    vertical-align: middle;
    background: url("../images/tex-icon.png") no-repeat;
    width: 22px;
    height: 19px;
    background-size: 22px 19px;
  }
  .type-unionpay-icon{
    display: inline-block;
    vertical-align: middle;
    background: url("../images/unionpay-icon.png") no-repeat;
    width: 31px;
    height: 19px;
    background-size: 31px 19px ;
  }
  .user-info-icon{
    display: inline-block;
    vertical-align: middle;
    background: url("../images/user-info-icon.png") no-repeat;
    width: 12px;
    height: 12px;
    background-size: 12px 12px;
  }
}
.thorough-title{
  position: relative;
  padding-left: 25px;
  font-size: 15px;
  &:before{
    content: '';
    display: block;
    position: absolute;
    left: 15px;
    top: 10px;
    width: 8px;
    height: 16px;
    background-color: @blue;
  }
}

.padding-bottom{
  padding-bottom: 60px;
}

.A-color,.B-color,.C-color,.D-color{
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 17px;
  background-size: 100% 100%!important;
}
.high{
  background: url("../images/high.png") no-repeat;
}
.middle{
  background: url("../images/middle.png") no-repeat;
}
.low{
  background: url("../images/low.png") no-repeat;
}
.A-color{
  background: url("../images/a.png") no-repeat;
}
.B-color{
  background: url("../images/b.png") no-repeat;
}
.C-color{
  background: url("../images/c.png") no-repeat;
}
.D-color{
  background: url("../images/d.png") no-repeat;
}

.swiper-slide{
  img{
    display: block;
  }
}

.navicon-one{
  background: url("../images/home.png") no-repeat center center;
  background-size: 21px 20px;
}
.navicon-two{
  background: url("../images/tax.png") no-repeat center center;
  background-size: 25px 25px;
}
.navicon-thr{
  background: url("../images/cert.png") no-repeat center center;
  background-size: 20px 20px;
}
.weui-bar__item--on{
  p.weui-tabbar__label{
    color: @blue!important;
  }
  .navicon-one{
    background: url("../images/home-on.png") no-repeat center center;
    background-size: 21px 20px;
  }
  .navicon-two{
    background: url("../images/tax-on.png") no-repeat center center;
    background-size: 25px 25px;
  }
  .navicon-thr{
    background: url("../images/cert-on.png") no-repeat center center;
    background-size: 20px 20px;
  }
}

.new-divbtn{
  width: 40px;
  height: 40px;
  border: 1px solid #D5D5D6;
  border-radius: 50%;
  font-size: 16px;
  line-height: 38px;
  text-align: center;
  margin: 10px auto;
  color: #aaa
}
.new-divbox{
  position: relative;
  margin: 10px 0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  .new-opt{
    position: relative;
    height: 30px;
    background: #f5f5f5;
    .div-close{
      display: block;
      width: 50px;
      height: 100%;
      line-height: 30px;
      position: absolute;
      text-align: center;
      right: 0;
      top: 0;
      font-size: 14px;
      color: #04BE02;
    }
  }
}

#chat-btn{
  display: block;
  position: fixed;
  right: 15px;
  bottom: 65px;
  >i{
    display: block;
    width: 40px;
    height: 40px;
    background:url("../images/chat-btn.png");
    background-size: 40px 40px;
  }
}
.weui-popup__modal{
  //height: 90%!important;
}
.chat{
  position: relative;
  height: 100%;
  .chat-box{
    height: 100%;
    overflow-y: auto;
    padding-bottom: 45px;
    padding-top: 44px;
  }
  .chat-input{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #f5f5f5;
    overflow: hidden;
    .input-cont{
      width: 75%;
      border: none;
      >input{
        display: block;
        background-color: #fff;
        color: #a8a8a8;
        height: 35px;
        margin-top: 5px;
        margin-left: 5px;
        padding-left: 5px;
        font-size: 14px;
        line-height: 35px;
      }
    }
    .add-chatimg{
      width: 25%;
      position: absolute;
      right: 0;
      top: 0;
      .send-btn{
        float: left;
        width: 50%;
        height: 45px;
        background:url("../images/send-icon.png") no-repeat center center ;
        background-size: 24px 24px;
      }
      .add-img{
        float: left;
        width: 50%;
        height: 45px;
        display: block;
        background:url("../images/add-img-icon.png") no-repeat center center ;
        background-size: 24px 24px;
      }
    }
  }
}
.chat-box{
  //background-color: #f5f5f5;
  .chat-time{
    font-size: 12px;
    width: 200px;
    height: 18px;
    line-height: 18px;
    background-color: #808080;
    color: #fff;
    border-radius: 3px;
    margin: 5px auto;
    text-align: center;
  }
  .his-chat,.my-chat{
    display: flex;
    margin: 5px 0;
    .chat-head-img{
      flex: 20%;
      text-align: center;
    }
    .chat-text{
      position: relative;
      flex: 80%;
      .text-content{
        display: inline-block;
        border-radius: 5px;
        border: 1px solid #a8a8a8;
        padding:12px 8px;
        font-size: 14px;
        line-height: 1.5;
        background-color: #fff;
      }
      &:before{
        content: '';
        display: block;
        position: absolute;
        width: 11px;
        height: 15px;
        top: 12px;
        background: url("../images/chat-arrow.png") no-repeat;
      }
    }
  }
  .his-chat{
    padding: 0 10px 0 0;
    .chat-text{
      &:before{
        left: -10px;
      }
    }
  }
  .my-chat{
    padding: 0 0 0 10px;
    .chat-text{
      text-align: right;
      &:before{
        transform: rotateZ(180deg);
        right: -10px;
      }
    }
    .text-content{
      text-align: left;
    }
  }
  .text-cont-img{
    display: block;
    max-width: 200px;
  }
}
.weui-photo-browser-modal{
  z-index: 503;
}